package com.xinchuang.mapper.targetSystem.damage;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinchuang.entity.targetSystem.damage.AvoidHitting;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * <p>
 * BD区域管理 Mapper 接口
 * </p>
 *
 * @author baomidou
 * @since 2024-04-26
 */
@Mapper
public interface AvoidHittingMapper extends BaseMapper<AvoidHitting> {
    @Update("update t_avoid_hitting set data_status = 1 where id in (${ids})")
    void deleteBatchIdsWithLogic(@Param(value = "ids") String ids);

    List<AvoidHitting> selectList(@Param(value = "avoidHittingName") String avoidHittingName, @Param(value = "avoidHittingType") String avoidHittingType);
}
